.wrapper {
    width: 1240px;
    margin: 0 auto;
    position: relative;
}
.goods .hd{
    width: 1240px;
    height: 114px;
    line-height: 114px;
    margin: 0 auto;
    position: relative;
}
.goods .hd h2{
    float: left;
    font-size: 29px;
    font-weight: 400;
    height: 114px;
}
.goods .hd h2 span{
    font-size: 19px;
    margin-right: 14px;
    margin-left: 34px;
    color: #999999;
}
.goods .hd a{
    float: right;
    text-decoration: none;
    color: #999999;
}
.goods .hd a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 11px;
    margin-left: 13px;
    background-image: url('../src/banner/loge.png');
    background-position: 0px -110px;

}
.goods .bd {
    width: 1240px;
    margin: 0 auto;

}
.goods .bd a{
    text-decoration: none;
    font-weight: normal;
}
.goods .bd .goods-item{
    float: left;
    width: 304px;
    height: 405px;
    margin-right: 8px;
    background-color: #f0f9f4;
    text-align: center;
    transition: box-shadow 0.7s ease,transform 0.3s ease;

}
.goods .bd .goods-item:hover{
    transform: translateY(-5px);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1),
    -2px 2px 10px rgba(0, 0, 0, 0.1),
    0 2px 10px rgba(0, 0, 0, 0.1);
}
.goods .bd .goods-item:hover h3 {
    color: darkred;
}

.goods .bd .goods-item img{
    width: 304px;
}
.goods .bd .goods-item:last-child{
    margin-right: 0;
}
.goods .bd::after {
    content: '';
    display: block;
    clear: both;
}
.goods .bd .goods-item h3{
    color: #333333;
    margin-top: 20px;
    font-weight: 400;
}
.goods .bd .goods-item .goods-price{
    font-size: 23px;
    margin-top: 15px;
    color: darkred;
}
.goods .bd .goods-item .goods-price span{
    font-size: 16px;
    color: darkred;
    margin-bottom: 30px;}

.goods .bd .popular-item{
    float: left;
    width: 304px;
    height: 405px;
    margin-right: 8px;
    text-align: center;
    transition: box-shadow 0.7s ease,transform 0.3s ease;
}
.goods .bd .popular-item:hover{
    transform: translateY(-5px);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1),
    -2px 2px 10px rgba(0, 0, 0, 0.1),
    0 2px 10px rgba(0, 0, 0, 0.1);
}

.goods .bd .popular-item:hover h3 {
    color: darkred;
}
.goods .bd .popular-item img{
    width: 304px;
}
.goods .bd .popular-item:last-child{
    margin-right: 0;
}
.goods .bd .popular-item h3{
    color: #333333;
    margin-top: 20px;
    font-weight: 400;
    margin-bottom: 15px;
}
.goods .bd .popular-item span{
    font-size: 15px;
    color: #999999;
}

.goods .bd .brand-item{
    float: left;
    width: 304px;
    height: 405px;
    margin-right: 8px;
    text-align: center;
}
.goods .bd .brand-item img{
    width: 304px;
}
.goods .bd .brand-item:last-child{
    margin-right: 0;
}
.shenxian {
    margin-top: 40px;
    margin-bottom: 40px;
}

.shenxian .hd {
    height: 114px;
    line-height: 114px;
    position: relative;
}

.shenxian .hd h2 {
    float: left;
    font-size: 29px;
    font-weight: 400;
    margin-right: 500px;
}

.shenxian .hd .more {
    float: right;
    text-decoration: none;
    color: #999999;
    font-size: 16px;
}

.shenxian .hd .more::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 11px;
    margin-left: 8px;
    background-image: url('../src/banner/loge.png');
    background-position: 0px -110px;
}

.shenxian .hd ul {
    float: left;
    margin-right: 30px;
    text-decoration: none;
}

.shenxian .hd ul li {
    float: left;
    margin-left: 15px;
}

.shenxian .hd ul li .title {
    padding: 5px 15px;
    color: #333;
    text-decoration: none;
}

.shenxian .hd ul li .title:hover {
    background-color: #27ba9b;
    color: #fff;
}

.shenxian .bd {
    margin-top: 20px;
}

.shenxian .bd .left {
    float: left;
    width: 240px;
    height: 610px;
    background-color: #f5f5f5;
    overflow: hidden;
}

.shenxian .bd .left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.shenxian .bd .left img:hover {
    transform: scale(1.05);
}

.shenxian .bd .right {
    float: right;
    width: 1000px;
}

.shenxian .bd .right ul {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
}

.shenxian .bd .right .fresh-item {
    width: 240px;
    height: 300px;
    margin-left: 8px;
    margin-bottom: 8px;
    background-color: #fff;
    text-align: center;
    transition: all 0.3s;
}

.shenxian .bd .right .fresh-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.shenxian .bd .right .fresh-item img {
    width: 160px;
    height: 160px;
    margin: 20px auto 10px;
    object-fit: cover;
}

.shenxian .bd .right .fresh-item h3 {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 5px;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shenxian .bd .right ul .fresh-item a:hover h3 {
    color: #27ba9b !important;
}
.shenxian .bd .right .fresh-item p {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.shenxian .bd .right .fresh-item .price {
    font-size: 18px;
    color: #cf4444;
    font-weight: bold;
}
.shenxian * {
    text-decoration: none !important;
}

/* 定义 .fresh-item 的基本样式 */
.fresh-item {
    position: relative; /* 使绝对定位的子元素相对于它定位 */
    overflow: hidden; /* 防止弹出框超出边界 */
    transition: all 0.3s ease; /* 平滑过渡效果 */
}

/* 定义弹出框的样式 */
.fresh-item .popup {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #27ba9b;
    color: white;
    text-align: center;
    line-height: 126px;
    font-size: 16px;
    transition: all 0.3s ease;
}


.fresh-item:hover .popup {
    height: 126px;
}
